﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GibberDoc
{
    public static class StringExtensions
    {
        public static string EnsureTrailingSlash(this string str)
        {
            if (str.EndsWith("/"))
            {
                return str;
            }
            return str + '/';
        }
    }
}
